package demo1;

import java.util.Scanner;

/**
 * @Description
 */

public class Test {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int key = scanner.nextInt();
        MySingleList mySingleList = new MySingleList();
        mySingleList.crateList();
        //mySingleList.show();
        //System.out.println(mySingleList.size());
        System.out.println(mySingleList.contains(key));

    }
}
